-
Notifications
You must be signed in to change notification settings - Fork 187
Revert "cmdlib: Use -hda/-hdb instead of virtio-scsi incantations" #1292
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Revert "cmdlib: Use -hda/-hdb instead of virtio-scsi incantations" #1292
Conversation
This reverts commit ad728ab because it apparently doesn't work on s390x/ppc64le: coreos#1288 (comment)
|
I'll try to lower these into Ideally we use |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cgwalters, jlebon The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
| cachedisk=() | ||
| if [ -f "${workdir}/cache/cache.qcow2" ]; then | ||
| cachedisk=("-hdb" "${workdir}/cache/cache.qcow2") | ||
| cachedisk=("-drive" "if=none,id=drive-scsi0-0-0-1,discard=unmap,file=${workdir}/cache/cache.qcow2" \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Random thought...do we still need the cache disk versus relying on a 9p mount? I may investigate this.
Would simplify things a lot if we had just one disk attached to the VM versus two.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That was the original design, but we moved away from that because composing directly into 9p caused issues. And composing on the side and moving cache/data back and forth was a lot of overhead.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Check out #124 (comment) and following.
|
FWIW, the issue on ppc64le was due to the driver ibmvscsi missing from the supermin initrd. I filed a bug against supermin at https://bugzilla.redhat.com/show_bug.cgi?id=1819019 I have not tested on s390x, so I don't know if they have the same issue. |
This reverts commit ad728ab because
it apparently doesn't work on s390x/ppc64le:
#1288 (comment)